package com.dlc.felear.xiaoensale.entity;

import java.util.List;

public class ClampInfo {


    /**
     * code : 200
     * data : [{"id":"1fe7319299fa4985b9017633ed393117","clamps":[{"weight":74,"offset":15}]}]
     * message : 操作成功
     */

    private int code;
    private String message;
    private List<Operator> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<Operator> getData() {
        return data;
    }

    public void setData(List<Operator> data) {
        this.data = data;
    }

    public static class Operator {
        /**
         * id : 1fe7319299fa4985b9017633ed393117
         * clamps : [{"weight":74,"offset":15}]
         */

        private String id;
        private List<Clamp> clamps;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public List<Clamp> getClamps() {
            return clamps;
        }

        public void setClamps(List<Clamp> clamps) {
            this.clamps = clamps;
        }

        public static class Clamp {
            /**
             * weight : 74
             * offset : 15
             */

            private int weight;
            private int offset;

            public int getWeight() {
                return weight;
            }

            public void setWeight(int weight) {
                this.weight = weight;
            }

            public int getOffset() {
                return offset;
            }

            public void setOffset(int offset) {
                this.offset = offset;
            }
        }
    }
}
